package git.determinal.template.factory;

import git.determinal.template.dao.UserDao;
import git.determinal.template.dao.impl.UserDaoImpl;
import org.springframework.beans.factory.FactoryBean;

/**
 * @Description
 * @Author determinal
 * @Date 2024/6/20 下午5:34
 */
public class MyBeanFactory3 implements FactoryBean<UserDao> {
    @Override
    public UserDao getObject() throws Exception {
        return new UserDaoImpl();
    }

    @Override
    public Class<?> getObjectType() {
        return UserDao.class;
    }
}
